package com.drg.center.entity.param;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.guaike.core.entity.param.Page;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

/**
 * @Author: zhangxilin
 * @Date: 2024/5/14
 */
@Data
@ApiModel("在院病例监测列表入参DTO")
public class CaseMonitorPageDTO extends Page {

    @ApiModelProperty("科室编码")
    private String departCode;

    @ApiModelProperty("医生姓名")
    private String doctorName;

    @ApiModelProperty("患者姓名")
    private String patientName;

    @ApiModelProperty("就诊日期")
    @JsonFormat(pattern="yyyy-MM-dd", timezone="GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate visitDate;

    @ApiModelProperty("CHS-DRG编码")
    private String chsDrgCode;

    @ApiModelProperty("住院号")
    private String inpatientCode;

    @ApiModelProperty("搜索类型（1：超支病例，2：高倍率病例，3：低倍率病例，4：质控问题病例，5：预警病例）")
    private Integer type;
}
